export default [
  {
    path: '/extensions',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'plugin-market',
        name: 'PluginMarket',
        component: () => import('@/views/extensions/PluginMarket.vue'),
        meta: { title: '插件市场' }
      },
      {
        path: 'plugin-manage',
        name: 'PluginManage',
        component: () => import('@/views/extensions/PluginManage.vue'),
        meta: { title: '插件管理' }
      },
      {
        path: 'plugin-develop',
        name: 'PluginDevelop',
        component: () => import('@/views/extensions/PluginDevelop.vue'),
        meta: { title: '插件开发' }
      },
      {
        path: 'theme-store',
        name: 'ThemeStore',
        component: () => import('@/views/extensions/ThemeStore.vue'),
        meta: { title: '主题商店' }
      },
      {
        path: 'theme-config',
        name: 'ThemeConfig',
        component: () => import('@/views/extensions/ThemeConfig.vue'),
        meta: { title: '主题配置' }
      },
      {
        path: 'theme-develop',
        name: 'ThemeDevelop',
        component: () => import('@/views/extensions/ThemeDevelop.vue'),
        meta: { title: '主题开发' }
      }
    ]
  }
]

